/*
 * Copyright (c) 2016 www.smarthome.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.base.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.smarthome.domain.bean.ShExpressFee;
import com.smarthome.base.dao.base.BaseDaoImpl;
import com.smarthome.base.dao.ShExpressFeeDao;

/**
 * ShExpressFeeDao 实现类
 * @author KongXiangyu
 * @since 2016-04-19
 */
@Repository("shExpressFeeDao")
public class ShExpressFeeDaoImpl extends BaseDaoImpl<ShExpressFee,Long> implements ShExpressFeeDao {
	private final static String NAMESPACE = "com.smarthome.base.dao.ShExpressFeeDao.";
	
	//返回本DAO命名空间,并添加statement
	public String getNameSpace(String statement) {
		return NAMESPACE + statement;
	}

	@Override
	public List<ShExpressFee> selectDetailList(ShExpressFee expressFee) {
		return this.selectList(this.getNameSpace("selectDetailList"), expressFee);
	}

	@Override
	public ShExpressFee selectDetailById(Long id) {
		return this.select(this.getNameSpace("selectDetailById"), id);
	}
		
}